home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr11
/
pcv05n08.zip
/
BATKEY.DOC
next >
Wrap
Text File
|
1993-06-12
|
2KB
|
57 lines
BATKEY. August 1992 Ronny Richardson
-----------------------------------------------------------------
Purpose: Batkey provides you with the ability to run
multiple commands, provide command-line recorder
services, and provide command-line macros without
having to use DOS 5.0 or DOSKEY.
Format: MULTI.BAT:
---------
MULTI command ^ command ^ command
MULTI allows you to enter as many commands as you
can fit on a signle command line (up to DOS's
limit of 127 characters per line). To invoke the
function, enter the batch file's name (MULTI),
separated by spaces and carets (^), using the
above syntax.
This works by constructing an environmental
variable to contain each command. It loops
through the replaceable parameter until it reaches
a caret, telling the file that the command is
complete, restting the environment variable and
starting over.
CL.BAT:
------
CL
If you enter a lot of short commands such as D:,
CD\, and DIR, you'll prefer to store only the one
or two long commands you don't want to type. CL
can store these for you. CL will store up to 10
complex command lines on disk. Like MACRO.BAT, CL
stores command lines in batch files.
To record a command line, one that changes to a
remote subdirectory for example, enter CL followed
by the comand, using the following syntax:
CL ]CD\BUDGET\1992\EXPENSES\SALES
Press ENTER and CL records the comand in a batch
file and passes control back to DOS to execute.
MACRO.BAT:
---------
MACRO number command
MACRO.BAT records up to ten command-line macros,
each in its own batch file in a directory called
\MACRO. To record a macro, start with this batch
file command, a number for the macro (using any
number from 0 to 9), and the commands you wish to
execute, as in the above example.